{% extends "base.html" %}
{% load wagtailcore_tags navigation_tags wagtailimages_tags %}

{% block content %}
    {% include "portal/include/header-index.html" %}

    <div class="container">
        <ul class="bread-list">
            {% for bread in product %}
                <li>
                    {% include "includes/card/listing-card.html" with page=bread %}
                </li>
            {% endfor %}
        </ul>
    </div>

    {% if product.paginator.count > 8 %}
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    {% include "includes/pagination.html" with subpages=product %}
                </div>
            </div>
        </div>
    {% endif %}
{% endblock content %}
